package entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author ljc
 * @since 2023-02-28
 */
@Getter
@Setter
@TableName("tb_contacts")
@ApiModel(value = "Contacts对象", description = "")
public class Contacts implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("联系人id")
      @TableId(value = "con_id", type = IdType.AUTO)
    private Long conId;

    @ApiModelProperty("联系人姓名")
    @TableField("con_name")
    private String conName;

    @ApiModelProperty("联系人电话")
    @TableField("con_phone")
    private String conPhone;

    @ApiModelProperty("联系人地址")
    @TableField("con_address")
    private String conAddress;

    @ApiModelProperty("所属用户")
    @TableField("user_id")
    private Long userId;


}
